﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonEdible_Statistics.aspx.cs"
    Inherits="Catering.Catering_Page.ShanShiFenXi.PersonEdible_Statistics" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register src="../../UCPanle/DDLTool.ascx" tagname="DDLTool" tagprefix="uc1" %>
<%@ Register src="../../UCPanle/UCDDLToolWithDate.ascx" tagname="UCDDLToolWithDate" tagprefix="uc2" %>
<%@ Register src="../../UCPanle/UCDDLToolWithYearOfMonth.ascx" tagname="UCDDLToolWithYearOfMonth" tagprefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>人均食用油统计</title>
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script src="../../Style/zhezhao.js" type="text/javascript"></script>
    <script src="../../Style/xxk.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/jquery.min.js"></script>
    <script type="text/javascript">
        function GetDataGroup(type,title, xtype, data) {
            var chart;
            var strtype = '';
            if (type == 2) strtype = "column";
            var banzuptions = {
                chart: { renderTo: 'container', type: strtype }, //容器ID
                title: { text: title }, //报表大标题
                //subtitle: { text: '报表小标题' }, //报表小标题
                xAxis: {//x轴
                    type: 'sdf',
                    categories: xtype,
                    gridLineWidth: 0,
                    labels: { align: 'right',
                        rotation: -45,
                        style: {
                            fontSize: '13px',
                            fontFamily: '宋体,Verdana'
                        }
                    }
                },
                yAxis: [{ // left y axis
                    title: {
                        text: null
                    },
                    labels: {
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: false
                },
                { // right y axis
                    linkedTo: 0,
                    gridLineWidth: 1,
                    opposite: true,
                    title: { text: null },
                    labels: {
                        formatter: function () {
                            return Highcharts.numberFormat(this.value, 0);
                        }
                    },
                    showFirstLabel: true
                }],
                tooltip: {
                    formatter: function () {
                        return '<b>' + this.x + '：</b><br/>' +
                        this.series.name + '：' + this.y;
                    }
                },
                series: []
            };
            for (var i = 3; i < arguments.length; i++) {
                banzuptions.series[i - 3] = arguments[i];
            }
            chart = new Highcharts.Chart(banzuptions);
            document.getElementById("container").style.height = "430px";
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <script type="text/javascript" src="../Tool_Reporter/js/highcharts.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/modules/exporting.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/highslide-full.min.js"></script>
    <script type="text/javascript" src="../Tool_Reporter/js/highslide.config.js" charset="utf-8"></script>
    <asp:ScriptManager ID="ScriptManager1" ScriptMode="Release" runat="server">
    </asp:ScriptManager>
        <div class="xxk_button1">
            <ul>
                <li id="li2_1" class="li_out"><a href="PersonType_Sum.aspx">
                    <img alt="" src="../../Images/group_blue.png" />&nbsp;&nbsp;消耗分类汇总</a></li>
                <li id="li2_2" class="li_out"><a href="MonthTotal_Percent.aspx">
                    <img alt="" src="../../Images/contact_blue.png" />&nbsp;&nbsp;人均累计百分比</a></li>
                <li id="li2_3" class="li_over" class="a_hover"><a href="PersonEdible_Statistics.aspx">
                    <img alt="" src="../../Images/contact_blue.png" />&nbsp;&nbsp;食用油统计</a></li>
            </ul>
        </div>
        <div class="Center_Content" id="div2_1" style="display: block;padding-bottom:30px;">
        <div class="div_0207 left_width500" style="height:34px; width:998px; background: url(../Images/div_h1_bg.gif)">
            <table width="100%" class="ckgl_table" cellpadding="0" cellspacing="0" border="0" style="height:34px;">
                <tr>
                    <td>
                        <uc3:UCDDLToolWithYearOfMonth ID="UCDDLToolWithYearOfMonth1" SecondCheck="yyjgsj.aspx|其他班组食用油统计查看" runat="server" />
                    </td>
                    <td width="100" align="right">
                        <asp:LinkButton ID="lbtn" runat="server" onclick="lbtn_Click">开始统计</asp:LinkButton>
                    </td>
                    <td width="100" align="right">
                        <asp:LinkButton ID="lbtnChar" runat="server" onclick="lbtnChar_Click">图形统计</asp:LinkButton>
                    </td>
                    <td width="100" align="right">
                        <asp:LinkButton ID="lbtnClassChar" runat="server" onclick="lbtnClassChar_Click">作业区分析图</asp:LinkButton>
                    </td>
                    <td width="10"></td>
                </tr>
            </table>
            </div>
            <div id="container" style="width:900px; height:0px; margin: 0 auto"></div>
            <dl>
                <rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="100%" Height="950" Font-Names="Verdana" BackColor="White"
                        Font-Size="8pt" InteractiveDeviceInfos="(集合)" Visible="false" WaitMessageFont-Names="Verdana"
                        WaitMessageFont-Size="14pt" style="padding-bottom:40px;">
                    <LocalReport ReportPath="Catering_Page\ShanShiFenXi\Report\PersonEdible_Statistical_rpt.rdlc">
                        <DataSources>
                        </DataSources>
                    </LocalReport>
                </rsweb:ReportViewer>
            </dl>
        </div>
        <div class="footer">
            <strong>中海油能源发展配餐服务公司渤海自营油田作业公司&nbsp;&nbsp;版权所有@CopyRight 2012</strong><span>技术支持：北京天择嘉业科技有限公司</span>
        </div>
    </form>
</body>
</html>
